{% extends "账号管理/template.html" %}
{% block title %}添加账号{% endblock %}
{% block css %}{% endblock %}
{% block body %}

<div id="form_user_data" class="">
    <form class="layui-form layui-form-pane layui-padding-5 " action="" method="post">
        <div class="layui-form-item Yy-mt-12px">
            {% for obj in form %}
            {% if obj.name == 'remark' %}
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入内容" class="layui-textarea" name="remark">{{user_data.remark}}</textarea>
                </div>
            </div>
            {% else %}
            <div class="layui-inline">
                <label class="layui-form-label">{{obj.label}}</label>
                <div class="layui-input-inline">
                     {{obj}}
                     <small class="layui-font-red">{{obj.errors.0}}</small>
                </div>
            </div>
            {% endif %}
            {% endfor %}
        </div>
        
        <div class="layui-form-item">
            <button class="layui-btn layui-btn-lg layui-btn-normal layui-btn-radius" type="submit">确认</button>
            <button class="layui-btn layui-btn-lg layui-btn-primary layui-btn-radius " onclick="YyBack()">返回</button>
        </div>
    </form>
</div>


{% include "云商/include/footer.html" %}
{% endblock %}
{% block js %}{% endblock %}